From: Michael Albinus Date: Sun, 5 Jul 2009 08:31:37 +0000 (+0000) Subject: * dired-aux.el (dired-show-file-type): Handle remote files. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~11653 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b783788ca6df03c4959eed0435794649519c2f16;p=emacs.git * dired-aux.el (dired-show-file-type): Handle remote files. --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index ffb6f4e9cbf..2e31e9cd90d 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -2429,8 +2429,8 @@ true then the type of the file linked to by FILE is printed instead." (interactive (list (dired-get-filename t) current-prefix-arg)) (with-temp-buffer (if deref-symlinks - (call-process "file" nil t t "-L" "--" file) - (call-process "file" nil t t "--" file)) + (process-file "file" nil t t "-L" "--" file) + (process-file "file" nil t t "--" file)) (when (bolp) (backward-delete-char 1)) (message "%s" (buffer-string))))